package com.example.zhaoping.service;

import com.example.zhaoping.domain.ResponseResult;
import com.example.zhaoping.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zhaoping.dto.UserRegisterDto;
import com.example.zhaoping.vo.UserLoginVo;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author czx
 * @since 2024-12-23
 */
public interface IUserService extends IService<User> {
//登录
    UserLoginVo login(String username, String password);
//注册
    ResponseResult register(UserRegisterDto userRegisterDto);
//分页查询用户列表
    ResponseResult userList(Integer pageNum, Integer pageSize, String username);
    //修改用户密码
    ResponseResult resetPassword(Map map);
    //管理员用户注册
    ResponseResult userregister(UserRegisterDto userRegisterDto);



}
